package com.hst.capacity.domain.model.request.vehicle;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class VehicleAddCertificateParam {
    private  String idVehicleLicense;
    @NotEmpty(message = "车辆ID[idVehicle]不能为空")
    private String idVehicle;
//    @NotEmpty(message = "运输证编号[licenseNo]不能为空")
    private String licenseNo;
//    @NotEmpty(message = "运输证发证机构[authorizer]不能为空")
    private String authorizer;
//    @NotEmpty(message = "运输经营区域[serviceRegion]不能为空")
    private String serviceRegion;
//    @NotEmpty(message = "生效日期[effectiveDate]不能为空")
    private String effectiveDate;
//    @NotEmpty(message = "失效日期[expiryDate]不能为空")
    private String expiryDate;
//    @NotEmpty(message = "激活日期/报备日期[avtiveDate]不能为空")
    private String avtiveDate;
//    @NotNull(message = "服务类型0(网络预约出租车)1(巡游出租车)2(私人小客车合乘)[serviceType]不能为空")
    private Integer serviceType;
//    @NotEmpty(message = "运输证归属者[possessor]不能为空")
    private String possessor;
//    @NotEmpty(message = "运输证归属者地址[possessorAddress]不能为空")
    private String possessorAddress;
    @NotNull(message = "证书类型0(网约车证)1(出租车证)[licenseType]不能为空")
    private Integer licenseType;
    //证件照片
    private String licensePhoto;

}
